﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DylanExtensions
{
    class Program
    {
        static void Main(string[] args)
        {
            string myEmail = "dylanwind@163.com";

            if (myEmail.isValidEmailAddress())
            {
                Console.WriteLine("IS Email address"); 
            }

            string[] values = {"microsot", 
                                  ".NET",
                                  "Dylan"};
           
            bool isInValues = "Dylan".In(values);

            Console.WriteLine(isInValues);


            Console.Read();
        }
    }
}
